﻿using Microsoft.EntityFrameworkCore; 
using System.Reflection; 
using Newtonsoft.Json;
using com.iot.core.annotation;
using System.Xml.Linq;
using System.ComponentModel.DataAnnotations;

namespace com.iot.core.manager.auth
{
    [Schema(Name = "登录Dto", Description = "")]
    public class LoginDto
    {





        [Comment("用户名")]
        [Schema(Name = "用户名", Description = "")]
        public string Ename { get; set; } = "";


        [Comment("密码")]
        [Schema(Name = "密码", Description = "")]
        public string Pwd { get; set; } = "";


        [Comment("平台编号")]
        [Schema(Name = "平台编号", Description = "")]
        public long HtplatId { get; set; }


        [Comment("结构编号")]
        [Schema(Name = "结构编号", Description = "")]
        public long HtdeptId { get; set; }


        [Comment("登录方式")]
        [Schema(Name = "登录方式", Description = "网站、小程序、安卓终端")]
        public string Loginway { get; set; } = "";


        [Comment("验证码ID")]
        [Schema(Name = "验证码ID", Description = "")]
        public string YzmId { get; set; } = "";


        [Comment("验证码")]
        [Schema(Name = "验证码", Description = "")]
        public string YzmValue { get; set; } = "";


        [Comment("额外信息")]
        [Schema(Name = "额外信息", Description = "")]
        public Dictionary<string,string> Extra { get; set; }=new Dictionary<string,string>();


    }
}
